const path = require('path')

/**
 * pitch loader
 */
module.exports = {
  mode: 'development',
  entry: './inline-01.js',
  output: {
    filename: 'build.js',
    path: path.resolve(__dirname, 'dist')
  },
  resolveLoader: {
    modules: ['node_modules', path.resolve(__dirname, 'loaders')]
  },
  module: {
    rules: [
      {
        test: /\.js$/,
        use:'loader03'
      },
      {
        test: /\.js$/,
        use: 'loader02'
      },
      {
        test: /\.js$/,
        use: 'loader01'
      },
    ]

  }
}
